#include <47func.h>
int main(int argc, char *argv[])
{
    // ./htons 1234
    ARGS_CHECK(argc,2);
    unsigned short port = atoi(argv[1]);
    printf("port = %04x\n", port);
    printf("reverse port = %04x\n", htons(port));
    return 0;
}

